<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The MongoDB\Driver\Monitoring\Subscriber interface</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mongodb-driver-monitoring-sdamsubscriber.topologyopening.html">« MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening</a></li>
      <li style="float: right;"><a href="mongodb.exceptions.html">MongoDB\Driver\Exception »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="mongodb.monitoring.html">MongoDB\Driver\Monitoring</a></li>
    <li>The MongoDB\Driver\Monitoring\Subscriber interface</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="class.mongodb-driver-monitoring-subscriber" class="reference">

 <h1 class="title">The MongoDB\Driver\Monitoring\Subscriber interface</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=1.3.0)</p>


  <div class="section" id="mongodb-driver-monitoring-subscriber.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Base interface for event subscribers. This is used as a parameter type in the functions
    <span class="function"><a href="function.mongodb.driver.monitoring.addsubscriber.html" class="function">MongoDB\Driver\Monitoring\addSubscriber()</a></span> and
    <span class="function"><a href="function.mongodb.driver.monitoring.removesubscriber.html" class="function">MongoDB\Driver\Monitoring\removeSubscriber()</a></span> and should
    not be implemented directly.
   </p>
  </div>


  <div class="section" id="mongodb-driver-monitoring-subscriber.synopsis">
   <h2 class="title">接口摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">MongoDB\Driver\Monitoring\Subscriber</strong>
     </span>
     {</div>


   }</div>


   <p class="para">
    This interface has no methods. Its only purpose is to be the base interface
    for all event subscribers.
   </p>

  </div>

 </div>

</div>
</div></div></body></html>